package com.project.myBeans;

import java.io.Serializable;

/**
 * <p>Title: EntitySupport.java</p>
 * <p>Description: 所有实体类的父类</p>
 * <p>Copyright: </p>
 * <p>Company: </p>
 * <p>createTime:2012-6-11 下午6:39:39</p>
 * @author xwf
 * @version 1.0
 */

public class EntitySupport implements  Serializable{
    private int pageIndex;//页码
    private int pageSize;//每页记录数
    private String sortField;//排序字段
    private String sortOrder;//排序类型
    private boolean noPaging;//是否强制不分页

    private String keyword;//用于模糊查找的关键词

    private String treeKey;//树关键词
    private String parentId;//树父节点

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public int getPageIndex() {
        return pageIndex;
    }
    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }
    public int getPageSize() {
        return pageSize;
    }
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public String getSortOrder() {
        return sortOrder;
    }
    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }
    public boolean isNoPaging() {
        return noPaging;
    }
    public void setNoPaging(boolean noPaging) {
        this.noPaging = noPaging;
    }

    public String getTreeKey() {
        return treeKey;
    }

    public void setTreeKey(String treeKey) {
        this.treeKey = treeKey;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}